#include <string>

class Patron
{
public:
    Patron() {}
    Patron(const std::string name, const std::string book_id) : _name(name), _book_id(book_id), _due_money(0.0)
    {
    }
    std::string GetName() const
    {
        return _name;
    }
    std::string GetBookID() const
    {
        return _book_id;
    }

    double GetMoney() const
    {
        return _due_money;
    }

    void SetMoney(double money)
    {
        if (money < 0)
            return;
        _due_money = money;
    }
    bool Is_Due_Money()
    {
        if (_due_money > 0)
            return true;
        return false;
    }

private:
    std::string _name;
    std::string _book_id;
    double _due_money;
};